package com.erp.erp_entitys.Customer;

import java.io.Serializable;
import java.util.Date;

/**
 * @author zjk
 * @version 1.0
 * @description 客户信息记录回参
 * @date 2021-05-19 1:40
 */
public class CustomerInformationRecordRes implements Serializable {
    /**
     * 客户编码
     */
    private String code;
    /**
     * 客户名称
     */
    private String name;
    /**
     * 简称
     */
    private String abbreviation;
    /**
     * 客户类型
     */
    private String typeName;
    /**
     * 业务员
     */
    private String salesmanName;
    /**
     * 地址
     */
    private String address;
    /**
     * 客户级别
     */
    private String levelName;
    /**
     * 帐期
     */
    private String accountPeriod;
    /**
     * 信用额度
     */
    private String creditLine;
    /**
     * 国家/地区
     */
    private String country;
    /**
     * 客户来源
     */
    private String sourceOfCustomers;
    /**
     * 外销合同号
     */
    private String contractNo;
    /**
     * 签约日期Date
     */
    private Date signingDate;
    /**
     * 签约日期Str
     */
    private String signingDateStr;

    /**
     * 客户简码
     */
    private String shortCode;
    /**
     * 是否成单（是否做过外销）
     */
    private String isMaker;

    /**
     * 更新时间 Date
     */
    private Date updateTimeDate;
    /**
     * 更新时间 Str
     */
    private String updateTimeDateStr;
    /**
     * 创建时间 Date
     */
    private Date createTimeDate;
    /**
     * 创建时间 Str
     */
    private String createTimeDateStr;
    /**
     * 客户 属性
     */
    private String attributesOfCustomers;

    public String getAttributesOfCustomers() {
        return attributesOfCustomers;
    }

    public void setAttributesOfCustomers(String attributesOfCustomers) {
        this.attributesOfCustomers = attributesOfCustomers;
    }

    public String getShortCode() {
        return shortCode;
    }

    public void setShortCode(String shortCode) {
        this.shortCode = shortCode;
    }

    public String getIsMaker() {
        return isMaker;
    }

    public void setIsMaker(String isMaker) {
        this.isMaker = isMaker;
    }

    public Date getUpdateTimeDate() {
        return updateTimeDate;
    }

    public void setUpdateTimeDate(Date updateTimeDate) {
        this.updateTimeDate = updateTimeDate;
    }

    public String getUpdateTimeDateStr() {
        return updateTimeDateStr;
    }

    public void setUpdateTimeDateStr(String updateTimeDateStr) {
        this.updateTimeDateStr = updateTimeDateStr;
    }

    public Date getCreateTimeDate() {
        return createTimeDate;
    }

    public void setCreateTimeDate(Date createTimeDate) {
        this.createTimeDate = createTimeDate;
    }

    public String getCreateTimeDateStr() {
        return createTimeDateStr;
    }

    public void setCreateTimeDateStr(String createTimeDateStr) {
        this.createTimeDateStr = createTimeDateStr;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAbbreviation() {
        return abbreviation;
    }

    public void setAbbreviation(String abbreviation) {
        this.abbreviation = abbreviation;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getSalesmanName() {
        return salesmanName;
    }

    public void setSalesmanName(String salesmanName) {
        this.salesmanName = salesmanName;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getLevelName() {
        return levelName;
    }

    public void setLevelName(String levelName) {
        this.levelName = levelName;
    }

    public String getAccountPeriod() {
        return accountPeriod;
    }

    public void setAccountPeriod(String accountPeriod) {
        this.accountPeriod = accountPeriod;
    }

    public String getCreditLine() {
        return creditLine;
    }

    public void setCreditLine(String creditLine) {
        this.creditLine = creditLine;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public String getSourceOfCustomers() {
        return sourceOfCustomers;
    }

    public void setSourceOfCustomers(String sourceOfCustomers) {
        this.sourceOfCustomers = sourceOfCustomers;
    }

    public String getContractNo() {
        return contractNo;
    }

    public void setContractNo(String contractNo) {
        this.contractNo = contractNo;
    }

    public Date getSigningDate() {
        return signingDate;
    }

    public void setSigningDate(Date signingDate) {
        this.signingDate = signingDate;
    }

    public String getSigningDateStr() {
        return signingDateStr;
    }

    public void setSigningDateStr(String signingDateStr) {
        this.signingDateStr = signingDateStr;
    }

    /**
     * 重写toString
     */
    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("CustomerInformationRecordRes").append('[')
                .append("code=")
                .append(code)
                .append(",name=")
                .append(name)
                .append(",abbreviation=")
                .append(abbreviation)
                .append(",typeName=")
                .append(typeName)
                .append(",salesmanName=")
                .append(salesmanName)
                .append(",address=")
                .append(address)
                .append(",levelName=")
                .append(levelName)
                .append(",accountPeriod=")
                .append(accountPeriod)
                .append(",creditLine=")
                .append(creditLine)
                .append(",country=")
                .append(country)
                .append(",sourceOfCustomers=")
                .append(sourceOfCustomers)
                .append(",contractNo=")
                .append(contractNo)
                .append(",signingDate=")
                .append(signingDate)
                .append(",signingDateStr=")
                .append(signingDateStr)
                .append(']');
        return sb.toString();
    }
}
